<template>
	<div>
		<div class="preoperative-item">	
		<div class="input-width">	
			<el-form-item label="群体反应抗体检测1" label-width='150px'>
			<el-select  placeholder="请选择" size='small'v-model="check.antibodyone" @change='cess'>
					<el-option label="请选择" value=""></el-option>
					<el-option label="阴性" value="阴性"></el-option>
					<el-option label="阳性" value="阳性"></el-option>
				</el-select>
			</el-form-item>
			</div>
			<div class="input-width">
			<el-form-item label="群体反应抗体检测1" label-width='150px'>
				<el-select  placeholder="请选择" size='small'v-model="check.antibodyone1" @change='cess'>
					<el-option label="请选择" value=""></el-option>
					<el-option label="阴性" value="阴性"></el-option>
					<el-option label="阳性" value="阳性"></el-option>
				</el-select>
			</el-form-item>	
			</div>			
		</div>
		<div class="preoperative-item">		
			<el-form-item label="最新PRA时间" label-width='150px' >
				<el-date-picker type="date" placeholder="选择日期"  style="width: 100%;" size='small' v-model='check.datapra' @change='cess'></el-date-picker>
			</el-form-item>				
		</div>
	</div>
</template>
<script>
	export default{
		props:{
			checked:{
				type:Object
			}
		},
		data(){
			return {
				check:{}						
			}
		},
		 created() {
		 	if(this.checked){
		 		this.check =this.checked;	 		
		 	}
		 	
		 },
		methods:{
			cess(){
				 this.$emit('ceshi',this.check)
			}
		}
	}
</script>
<style lang='scss' rel='stylesheet/scss'>
	.preoperative-item{
		margin-top: 10px;
		display: flex;
		.el-form-item{
			margin-right: 20px;
		}
		.input-width{
			width: 280px;
		    margin-right: 30px;
		}
	}
</style>